package com.qeado.site.dao.ibatis;

import org.springframework.stereotype.Repository;

import com.qeado.common.dao.BaseDao;
import com.qeado.site.dao.SiteBasicInfoManageDao;
import com.qeado.site.model.SiteBasicInfo;

@Repository
@SuppressWarnings("unchecked")
public class SiteBasicInfoManageDaoImpl extends BaseDao implements SiteBasicInfoManageDao {

	public SiteBasicInfo getSiteBasicInfo() {
		return (SiteBasicInfo)getSqlMapClientTemplate().queryForObject("getSiteBasicInfo");
	}

	public void insertSiteBasicInfo(SiteBasicInfo siteBasicInfo) {
		getSqlMapClientTemplate().insert("insertNewSiteBasicInfo",siteBasicInfo);
		
	}

	public void updateSiteBasicInfo(SiteBasicInfo siteBasicInfo) {
		
		getSqlMapClientTemplate().update("updateSiteBasicInfo",siteBasicInfo);
		
	}

	
	
}
